using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//用户信息返回
//{
//    "status": {
//        "code": "1",
//        "message": "Action completed successful",
//        "created_at": "2015-01-18 15:04:07"
//    },
//    "info": {
//        "user": {
//            "real_name": "",
//            "user_type": "personal",
//            "telephone": "18754553214",
//            "im": "10000000",
//            "nick": "DNSPod 先生",
//            "id": "625033",
//            "email": "api@dnspod.com",
//            "status": "enabled",
//            "email_verified": "no",
//            "telephone_verified": "no",
//            "weixin_binded": "no",
//            "agent_pending": false,
//            "balance": 0,
//            "smsbalance": 0,
//            "user_grade": "DP_Free"
//        }
//    }
//}
namespace Models.APIModels
{
    public class UserModel
    {
        public StatusModel status { get; set; }
        public UserInfoModel info { get; set; }
    }
    public class UserInfoModel
    {
        public UserItemModel user { get; set; }
    }
    public class  UserItemModel
    {
        public string real_name { get; set; }
        public string user_type { get; set; }
        public string telephone { get; set; }
        public string nick { get; set; }
        public int id { get; set; }
        public string email { get; set; }
        public string status { get; set; }
        public string email_verified { get; set; }
        public string telephone_verified { get; set; }
        public bool agent_pending { get; set; }
        public decimal balance { get; set; }
        public decimal smsbalance { get; set; }
        public string user_grade { get; set; }
    }
    //手机验证码
    public class TelVerifyModel
    {
        public StatusModel status { get; set; }
        public TelItemModel user { get; set; }
    }
    public class TelItemModel
    {
        public string verify_code { get; set; }
        public string verify_desc { get; set; }
    }

    //用户日志
    public class UserLogModel
    {
        public StatusModel status { get; set; }
        public List<string> log { get; set; }
    }

}
